/*
 * sessionStorage
 *
 * @Author:
 * @Date:
 * @Wechat:
 * @Email:
 * @Copyright
 */

export const sessionSave = (key, value) => {
  sessionStorage.setItem(key, value);
};

export const sessionRead = (key) => {
  return sessionStorage.getItem(key) || null;
};

export const sessionClear = () => {
  sessionStorage.clear();
};

export const sessionRemove = (key) => {
  sessionStorage.removeItem(key);
};
